package com.baiyang.server.service.book.impl;


import com.baiyang.server.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baiyang.server.dao.book.BookTypeDao;
import com.baiyang.server.model.book.BookType;
import com.baiyang.server.service.book.BookTypeService;

import java.util.List;

/**
 * 
 * @author XVX
 * BY: @Primary 注解帮助生命@Autowired优先注入的实列
 */
@Service	
public class BookTypeServiceImpl extends BaseServiceImpl<BookTypeDao, BookType> implements BookTypeService{
    @Autowired
    private BookTypeDao bookTypeDao = null;

    @Override
    public List<BookType> selectByIds(List<String> typeIds) {
        return bookTypeDao.selectByIds(typeIds);
    }
}
